cmake_minimum_required(VERSION 3.2)

set(PROJECT_NAME x3_parse)

project(${PROJECT_NAME})

set(CMAKE_CXX_FLAGS "-std=gnu++0x -s -O2 -Wall -Wextra -Weffc++ -Wshadow -Wcast-align -Wcast-qual -Woverloaded-virtual -Wstrict-null-sentinel -Wswitch-default -Winit-self -Wlogical-op -Wno-deprecated-declarations -Wshadow")

find_package(Boost 1.58 COMPONENTS program_options system regex REQUIRED)

include_directories(SYSTEM ${Boost_INCLUDE_DIR})

add_executable(${PROJECT_NAME} src/main.cpp)

target_link_libraries(${PROJECT_NAME} ${Boost_LIBRARIES})
